package cn.edu.seig.springks.dao;

import cn.edu.seig.springks.pojo.cart;
import cn.edu.seig.springks.pojo.order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface cartMapper {
    List<cart> selectCart(Integer u_id);

    int deleteCart(cart cart);

    int InsertOrders(@Param("orders") List<order> orders);
}
